<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">
    <ui:composition>
    <h:form>
        <p:dataTable var="human" value="#{authors.humanList}">
            <p:column headerText="Id">
                <h:outputText value="#{human.id}" />
            </p:column>
            
            <p:column headerText="First Name">
                <h:outputText value="#{human.firstName}" />
            </p:column>

            <p:column headerText="Last Name">
                <h:outputText value="#{human.lastName}" />
            </p:column>
            
            <p:column headerText="Birth Date">
                <h:outputText value="#{human.birthDate}" >
                    <f:convertDateTime pattern="dd/MM/yyyy ss" />
                </h:outputText>
            </p:column>
        </p:dataTable>
    </h:form>
    </ui:composition>
</html>
